package com.wl.service;

import com.wl.pojo.Orders;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @program: treeHole
 * @author: 吴磊
 * @create: 2021-07-07 10:19
 */
public interface OrderService {
    /**
     * 扫码支付
     *
     * @param request
     * @param orders
     * @return
     */
    Map<String, Object> FaceTofACEPay(HttpServletRequest request, Orders orders);

    /**
     * 异步回调接口
     */
    String notifyUrl(HttpServletRequest request);

    /**
     * 获得所有支付订单
     *
     * @param request
     * @return
     */
    Map<String, Object> getAllOrder(HttpServletRequest request);

    /**
     * 管理员删除订单
     *
     * @param request
     * @return
     */
    Boolean deleteOrder(HttpServletRequest request);
}
